package com.itheima.ood.inner.demo04;

public class Outer {

    //需求是创建测试类，使用局部内部类的show方法

    private int a = 23;

    public void method(){

        class Inner{

            public void show() {

                System.out.println(a);
            }
        }

        Inner inner = new Inner();
        inner.show();
    }
}
